﻿using Dora.Tools.Enums.MessageManagement;
using System;
using System.Collections.Generic;
using System.Text;

namespace Dora.Tools.Events.MessageEvents
{
    public class MessageInfoDto
    {
        public string Title { get; set; }
        public string Content { get; set; }
        public MessageType MessageType { get; set; }
        public MessageCategory MessageCategory { get; set; }

        public bool IsNeedConfirm { get; set; }


        /// <summary>
        /// 已读最后确认截止时间
        /// </summary>
        public DateTime? ExpireTime { get; set; }
        /// <summary>
        /// 消息发送者
        /// </summary>
        public Guid? SendUserId { get; set; }

        /// <summary>
        /// 消息发送者姓名
        /// </summary>
        public string SendUserName { get; set; }

        public int SendOrgId { get; set; }
        public string SendOrgName { get; set; }


        /// <summary>
        /// 发送时间
        /// </summary>
        public DateTime SendTime { get; set; }


        /// <summary>
        /// 附件内容;附件信息Json
        /// </summary>
        public string Atachment { get; set; }

    }
}
